package com.cosmoplat.xikai.business.domain.dto.materialRequirement;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName MaterialStockModifyDTO
 * @Description 物料库存修改
 * @Author wdf
 * @Date 2025/1/23
 */
@Data
@ApiModel(value = "物料库存修改")
public class MaterialStockModifyDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull
    @ApiModelProperty(value = "配送物料id", example = "1")
    private Long id;

    /** 数量 */
    @NotNull
    @ApiModelProperty(value = "数量", example = "100.00")
    private BigDecimal stockQty;
}
